package cn.cai.pethome.user.mapper;

import cn.cai.pethome.user.domain.User;
import cn.cai.pethome.base.mapper.BaseMapper;
import org.springframework.stereotype.Component;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaocai
 * @since 2022-08-31
 */
@Component
public interface UserMapper extends BaseMapper<User> {

    /**
     * 通过用户提交的手机号来查询t_user表
     */
    User findusername(String phone);

}
